from django.apps import AppConfig


class TaskConfig(AppConfig):
    default_auto_field = 'django.db.models.BigAutoField'
    name = 'task'

    def ready(self):
        # from task.scheduler import SchedulerSingleton
        # 初始化单例并添加任务
        pass
        # SchedulerSingleton()
